<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>{$system.web_name}</title>
	<meta name="keywords" content="">
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<link rel="stylesheet" href="/home/css/base.css">
	<link rel="stylesheet" type="text/css" href="/home/css/swiper.min.css"/>
	<link rel="stylesheet" href="/home/css/dian.css">
	<script src="/home/js/jquery.min.js"></script>
	<script src="/home/js/swiper.min.js"></script>
</head>
<body>
	<div class="dian-content o_hidden">
		<div class="dc-top o_hidden">
			<img src="/home/img/l_03.png" alt="" class="dc-img">
			<img src="/home/img/a_06.png" alt="" class="dc-img1">
		</div>
		<div class="ac-bottom o_hidden">
			<div class="ac-list o_hidden">
				<ul class="o_hidden">
					<li><a class="dd-buttom" style="margin-top:0;">{$jigou.name}</a></li>
					<li style="padding-left: 0"><a href="/index/school.html" class="dd-buttom" style="margin-top:0;">一键返回</a></li>
				</ul>
			</div>
			{if condition="!empty($list)"}
			<div class="ac-table o_hidden">
				<div class="actable-list o_hidden">
					<ul class="o_hidden">
						<li style="width: 100%">
							<p>
								<a>共有考生<span style="color:red">{:count($list)}</span>个</a>
							</p>
						</li>
						{volist name="jibie" id="s"}
						<li style="border: 1px solid #dcdcdc">
							<p>
								<a><span style="color:red">{$s.name}</span>&nbsp;&nbsp;&nbsp;&nbsp;共<span style="color:red">{$s.num}</span>个</a>
							</p>
						</li>
						{/volist}
						<li style="width: 100%;border: 1px solid #dcdcdc;">
							<p>
								<a>缺考<span style="color:red">{$qk}</span>人</a>,<a>不及格<span style="color:red">{$bjg}</span>人</a>
							</p>
						</li>
						{volist name="kgdf" id="k"}
						<li style="border: 1px solid #dcdcdc">
							<p>
								<a>{$k.name}打分<span style="color:red">{$k.num}</span>个</a>
							</p>
						</li>
						{/volist}
					</ul>
				</div>
				<div class="ac-list o_hidden" style="width: 100%;margin-top:100px;">
					<ul class="o_hidden">
						<li style="width: 40%"><p style="line-height: 30px;font-size: 14px;">机构签字：<input type="text" name="school" style="height:30px;width:70%;"></p></li>
						<li style="width: 20%"><a href="javascript:;" class="dd-buttom tijiao" style="margin-top:0;">保存</a></li>
					</ul>
				</div>
			</div>
			{else /}
			暂无数据
			{/if}
		</div>
	</div>
	<script type="text/javascript" src="/public/demo/layer3.1.0/layer/layer.js"></script>
	<script>
		$(function(){
			$(".tijiao").click(function(){
				var id="{$jigou.aid}";
					school=$("input[name=school]").val();if (school=='') {layer.alert('请输入机构签字');return false;}
				$.post("/index/jigou_sign.html",{id:id,school:school},function(res){
					console.log(res);
					if (res.code==200) {
						layer.msg(res.msg,{icon:1,time:1500},function(){
							location.replace(location.href);
						});
					}else{
						layer.alert(res.msg);
					}
				})
			})
		})
	</script>
</body>
</html>